from core.basic.skill import 技能
from core.basic.character import Character
from core.basic.skill import 主动技能, 被动技能


class 主动技能(主动技能):
    魔化倍率 = 1.0

    def 等效百分比(self, **argv):
        return super().等效百分比(**argv)*self.魔化倍率


class 技能0(主动技能):
    名称 = '恶魔之手'
    备注 = '魔化'
    所在等级 = 10
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    MP = [28, 308]
    data0 = [0, 653, 718, 784, 850, 917, 983, 1049, 1114, 1182, 1248, 1314, 1379, 1447, 1511, 1579, 1643, 1709, 1777, 1843, 1908, 1975, 2040, 2107, 2174, 2238, 2305, 2373, 2437, 2504, 2571, 2636, 2702, 2768, 2833, 2901, 2965, 3033, 3099, 3164, 3231, 3298, 3362, 3430, 3495, 3561, 3628, 3695, 3759, 3827, 3891, 3958, 4024, 4090, 4156, 4223, 4288, 4355, 4421, 4487, 4554, 4620, 4685, 4751, 4819, 4884, 4949, 5016, 5082, 5149, 5214]
    hit0 = 1
    data1 = [0, 1304, 1435, 1569, 1701, 1832, 1964, 2099, 2229, 2362, 2494, 2627, 2758, 2892, 3022, 3155, 3286, 3419, 3553, 3683, 3817, 3948, 4081, 4212, 4346, 4476, 4610, 4743, 4874, 5006, 5140, 5271, 5402, 5535, 5667, 5800, 5930, 6065, 6197, 6328, 6460, 6594, 6725, 6857, 6990, 7122, 7254, 7388, 7518, 7651, 7783, 7915, 8047, 8180, 8312, 8444, 8578, 8708, 8842, 8972, 9106, 9238, 9370, 9501, 9636, 9766, 9898, 10031, 10163, 10296, 10427]
    hit1 = 1
    魔化倍率 = 2.24
    CD = 6 * 1.6
    TP成长 = 0.10
    TP上限 = 7

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.魔化倍率 = 2.24
            self.CD = 6 * 1.6
        if 形态 == "常规":
            self.魔化倍率 = 1.0
            self.CD = 6


class 技能1(主动技能):
    名称 = "死亡切割"
    所在等级 = 15
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 5 * 1.6
    MP = [30, 336]
    无色消耗 = 0
    data0 = [0, 340, 373, 408, 442, 477, 510, 544, 579, 614, 648, 683, 715, 752, 784, 820, 853, 886, 922, 956, 991, 1024, 1061, 1092, 1127, 1161, 1197, 1231, 1265, 1299, 1334, 1367, 1402, 1435, 1471, 1505, 1540, 1573, 1609, 1642, 1676, 1710, 1746, 1780, 1814, 1847, 1883, 1917, 1952, 1984, 2020, 2054, 2087, 2123, 2155, 2191, 2225, 2260, 2294, 2328, 2362, 2396, 2430, 2466, 2500, 2535, 2566, 2603, 2636, 2672, 2705]
    hit0 = 6
    TP成长 = 0.1
    TP上限 = 7

    魔化倍率 = 2.25

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.魔化倍率 = 2.25
            self.CD = 5 * 1.6
        if 形态 == "常规":
            self.魔化倍率 = 1.0
            self.CD = 5


class 技能2(主动技能):
    名称 = '恶魔之力'
    是否主动 = 0
    所在等级 = 15
    等级上限 = 30
    学习间隔 = 3
    等级精通 = 20
    data0 = [0, 1279, 1340, 1406, 1468, 1527, 1595, 1654, 1716, 1781, 1843, 1908, 1966, 2027, 2093, 2154, 2214, 2282, 2341, 2402, 2468, 2530, 2589, 2657, 2716, 2778, 2843, 2905, 2964, 3028, 3089]
    hit0 = 1
    CD = 1  # 实际无冷却
    TP成长 = 0.1
    TP上限 = 7
    CP倍率 = 0


class 技能3(主动技能):
    名称 = "裂地锤"
    所在等级 = 20
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 5 * 1.55
    MP = [30, 336]
    无色消耗 = 0
    data0 = [0, 625, 689, 753, 817, 876, 945, 1011, 1072, 1138, 1205, 1266, 1333, 1394, 1463, 1524, 1590, 1655, 1717, 1782, 1849, 1909, 1975, 2040, 2103, 2168, 2236, 2296, 2360, 2424, 2488, 2555, 2618, 2683, 2745, 2811, 2877, 2941, 3004, 3071, 3135, 3199, 3261, 3327, 3391, 3452, 3521, 3585, 3648, 3714, 3775, 3841, 3907, 3968, 4034, 4100, 4164, 4227, 4291, 4356, 4418, 4487, 4550, 4613, 4679, 4743, 4805, 4871, 4935, 5000, 5065]
    hit0 = 4
    TP成长 = 0.1
    TP上限 = 7

    魔化倍率 = 2.0

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.hit0 = 4
            self.魔化倍率 = 2.0
            self.CD = 5 * 1.55
        if 形态 == "常规":
            self.hit0 = 3
            self.魔化倍率 = 1.0
            self.CD = 5


class 技能4(被动技能):
    名称 = '镰刀精通'
    所在等级 = 20
    等级上限 = 20
    基础等级 = 10

    def 魔法攻击力倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.00 + 0.02 * self.等级, 5)

    def 等级加成(self, x, char: Character = {}):
        if self.等级 != 0:
            if self.等级 + x > self.等级上限:
                self.等级 = self.等级上限
                if self.基础等级 != self.等级上限 and self.关联技能 != ['无']:
                    self.等级溢出 = 1
            else:
                self.等级 += x
                char.暗属性抗性加成(6*x)
                char.光属性抗性加成(-3*x)


class 技能5(主动技能):
    名称 = "回旋飞镰"
    所在等级 = 25
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 10 * 1.5
    MP = [45, 462]
    无色消耗 = 0
    data0 = [0, 989, 1075, 1166, 1261, 1382, 1458, 1548, 1657, 1743, 1833, 1920, 2030, 2119, 2207, 2305, 2395, 2482, 2589, 2679, 2787, 2877, 2976, 3063, 3150, 3238, 3349, 3447, 3536, 3635, 3721, 3810, 3908, 3997, 4107, 4194, 4295, 4379, 4468, 4569, 4656, 4776, 4862, 4962, 5050, 5138, 5236, 5325, 5415, 5514, 5621, 5709, 5807, 5897, 5996, 6085, 6172, 6270, 6357, 6467, 6554, 6654, 6741, 6840, 6929, 7027, 7116, 7226, 7314, 7410, 7500]
    hit0 = 3
    data1 = [0, 581, 642, 705, 763, 820, 881, 943, 999, 1060, 1122, 1184, 1240, 1302, 1363, 1423, 1483, 1545, 1602, 1665, 1720, 1783, 1840, 1903, 1963, 2026, 2083, 2141, 2202, 2263, 2320, 2384, 2443, 2502, 2561, 2621, 2680, 2744, 2803, 2863, 2924, 2979, 3042, 3100, 3161, 3224, 3281, 3344, 3404, 3463, 3518, 3580, 3640, 3703, 3761, 3822, 3883, 3943, 4004, 4061, 4122, 4179, 4242, 4303, 4363, 4423, 4482, 4541, 4603, 4660, 4723]
    hit1 = 4
    TP成长 = 0.1
    TP上限 = 7
    魔化倍率 = 1.9

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.hit0 = 3
            self.hit1 = 4
            self.魔化倍率 = 1.9
            self.CD = 10 * 1.5
        if 形态 == "常规":
            self.hit0 = 5
            self.hit1 = 2
            self.魔化倍率 = 1.0
            self.CD = 10


class 技能6(主动技能):
    名称 = "复仇之刺"
    所在等级 = 30
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 10 * 1.6
    MP = [60, 686]
    无色消耗 = 0
    data0 = [0, 4367, 4810, 5252, 5695, 6139, 6581, 7024, 7467, 7911, 8354, 8795, 9238, 9682, 10125, 10569, 11011, 11453, 11895, 12340, 12783, 13225, 13667, 14111, 14553, 14998, 15439, 15882, 16326, 16768, 17213, 17654, 18097, 18541, 18982, 19427, 19867, 20313, 20756, 21197, 21642, 22082, 22528, 22970, 23412, 23855, 24298, 24741, 25185, 25627, 26070, 26512, 26956, 27398, 27842, 28284, 28728, 29170, 29613, 30054, 30499, 30942, 31385, 31828, 32270, 32712, 33157, 33600, 34043, 34486, 34928]
    hit0 = 1
    data1 = [0, 6361, 7006, 7650, 8297, 8942, 9586, 10232, 10877, 11519, 12167, 12813, 13458, 14103, 14745, 15392, 16036, 16680, 17329, 17972, 18619, 19263, 19907, 20554, 21199, 21845, 22492, 23133, 23779, 24423, 25069, 25720, 26363, 27005, 27653, 28295, 28938, 29586, 30235, 30878, 31525, 32165, 32814, 33456, 34103, 34751, 35394, 36036, 36685, 37327, 37971, 38622, 39266, 39912, 40555, 41199, 41845, 42489, 43137, 43783, 44425, 45070, 45715, 46360, 47002, 47653, 48296, 48943, 49586, 50230, 50878]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 7

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.hit0 = 1
            self.hit1 = 1
            self.CD = 10 * 1.6
        if 形态 == "常规":
            self.hit0 = 1
            self.hit1 = 0
            self.CD = 10


class 技能7(被动技能):
    名称 = '恶魔诅咒'
    所在等级 = 30
    等级上限 = 20
    基础等级 = 10
    关联技能 = ['所有']
    非关联技能 = ['恶魔之力','魔化：末日审判者']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.00 + 0.03 * self.等级, 5)


class 技能8(主动技能):
    名称 = "厄运之轮"
    所在等级 = 35
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 16 * 1.5
    MP = [180, 1512]
    无色消耗 = 0
    data0 = [0, 1124, 1237, 1351, 1465, 1580, 1694, 1806, 1922, 2034, 2148, 2263, 2377, 2489, 2603, 2717, 2833, 2945, 3060, 3175, 3286, 3401, 3516, 3629, 3743, 3858, 3969, 4084, 4196, 4313, 4426, 4539, 4655, 4767, 4882, 4996, 5110, 5223, 5338, 5449, 5565, 5678, 5794, 5906, 6020, 6134, 6249, 6363, 6475, 6590, 6704, 6817, 6932, 7046, 7158, 7274, 7387, 7500, 7615, 7730, 7841, 7956, 8071, 8185, 8299, 8412, 8527, 8639, 8753, 8868, 8982]
    hit0 = 6
    魔化倍率 = 2.34
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.hit0 = 6
            self.魔化倍率 = 2.34
            self.CD = 16 * 1.5
        if 形态 == "常规":
            self.hit0 = 9
            self.魔化倍率 = 1.0
            self.CD = 16

    def 装备护石(self, char):
        self.倍率 *= 1.34


class 技能9(主动技能):
    名称 = "恶魔之拳"
    所在等级 = 40
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 20
    MP = [300, 2604]
    无色消耗 = 1
    data0 = [0, 303, 334, 364, 395, 425, 457, 489, 518, 550, 580, 611, 641, 671, 701, 733, 764, 795, 825, 855, 887, 916, 948, 979, 1010, 1039, 1070, 1101, 1132, 1164, 1194, 1223, 1254, 1286, 1316, 1347, 1378, 1409, 1438, 1469, 1501, 1531, 1562, 1591, 1624, 1654, 1684, 1715, 1746, 1775, 1806, 1838, 1869, 1900, 1931, 1961, 1990, 2023, 2053, 2084, 2114, 2145, 2176, 2205, 2235, 2268, 2299, 2328, 2360, 2390, 2421]
    hit0 = 10
    data1 = [0, 11699, 12884, 14070, 15257, 16444, 17630, 18816, 20003, 21191, 22377, 23564, 24751, 25935, 27122, 28310, 29496, 30682, 31868, 33056, 34244, 35429, 36616, 37804, 38990, 40175, 41361, 42549, 43736, 44922, 46107, 47296, 48483, 49669, 50856, 52043, 53229, 54415, 55602, 56787, 57976, 59161, 60348, 61535, 62721, 63908, 65095, 66281, 67467, 68654, 69842, 71026, 72214, 73400, 74587, 75773, 76961, 78148, 79333, 80519, 81707, 82895, 84082, 85265, 86453, 87640, 88827, 90012, 91199, 92386, 93573]
    hit1 = 1
    data2 = [0, 234, 260, 282, 307, 329, 355, 377, 401, 425, 449, 472, 497, 519, 544, 568, 592, 614, 640, 662, 686, 711, 734, 758, 782, 805, 829, 853, 877, 900, 925, 948, 971, 996, 1019, 1043, 1067, 1089, 1114, 1138, 1161, 1185, 1211, 1232, 1257, 1282, 1303, 1329, 1353, 1374, 1400, 1424, 1447, 1471, 1496, 1517, 1542, 1567, 1589, 1614, 1638, 1659, 1685, 1709, 1732, 1756, 1781, 1803, 1827, 1853, 1874]
    hit2 = 0
    data3 = [0, 8617, 9491, 10363, 11239, 12113, 12988, 13862, 14736, 15608, 16482, 17357, 18232, 19106, 19979, 20853, 21725, 22602, 23476, 24351, 25224, 26096, 26972, 27846, 28721, 29593, 30468, 31342, 32217, 33090, 33963, 34838, 35713, 36587, 37460, 38335, 39208, 40084, 40956, 41830, 42705, 43581, 44455, 45327, 46201, 47075, 47951, 48823, 49699, 50572, 51445, 52318, 53195, 54068, 54943, 55817, 56690, 57566, 58439, 59313, 60185, 61060, 61934, 62808, 63682, 64555, 65431, 66305, 67178, 68052, 68926]
    hit3 = 0
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.hit0 = 10
            self.hit1 = 1
            self.hit2 = 0
            self.hit3 = 0
        if 形态 == "常规":
            self.hit0 = 0
            self.hit1 = 0
            self.hit2 = 10
            self.hit3 = 1

    def 装备护石(self, char):
        self.power0 = 1.1
        self.power1 = 1.1*1.27
        self.power2 = 1.1
        self.power3 = 1.1*1.27
        self.CDR *= 0.85


class 技能10(主动技能):
    名称 = "黑暗之触"
    所在等级 = 40
    等级上限 = 60
    学习间隔 = 2
    等级精通 = 50
    CD = 25
    MP = [300, 2604]
    无色消耗 = 1
    data0 = [0, 1427, 1572, 1717, 1862, 2007, 2151, 2296, 2440, 2586, 2730, 2873, 3020, 3163, 3309, 3453, 3598, 3742, 3887, 4032, 4177, 4322, 4465, 4611, 4755, 4900, 5046, 5190, 5334, 5479, 5624, 5768, 5914, 6058, 6203, 6348, 6492, 6638, 6781, 6926, 7072, 7216, 7361, 7506, 7650, 7793, 7940, 8084, 8228, 8374, 8517, 8663, 8807, 8952, 9098, 9241, 9386, 9531, 9676, 9820, 9965]
    hit0 = 3
    data1 = [0, 2498, 2750, 3003, 3257, 3510, 3764, 4016, 4269, 4523, 4776, 5030, 5282, 5537, 5789, 6042, 6295, 6549, 6802, 7056, 7309, 7563, 7814, 8068, 8321, 8575, 8828, 9082, 9335, 9589, 9840, 10094, 10347, 10601, 10854, 11108, 11360, 11614, 11866, 12121, 12373, 12628, 12880, 13133, 13386, 13639, 13893, 14146, 14400, 14653, 14905, 15160, 15411, 15666, 15918, 16173, 16425, 16679, 16932, 17184, 17438]
    hit1 = 3
    data2 = [0, 9630, 10605, 11583, 12559, 13536, 14512, 15490, 16466, 17444, 18420, 19397, 20373, 21351, 22327, 23304, 24280, 25258, 26234, 27211, 28187, 29165, 30141, 31119, 32095, 33072, 34048, 35026, 36001, 36979, 37956, 38932, 39909, 40886, 41862, 42840, 43815, 44793, 45770, 46746, 47724, 48700, 49676, 50655, 51630, 52607, 53585, 54561, 55537, 56514, 57491, 58468, 59444, 60422, 61398, 62375, 63351, 64329, 65305, 66282, 67259]
    hit2 = 1
    data3 = [0, 1057, 1164, 1272, 1379, 1487, 1593, 1701, 1807, 1915, 2022, 2129, 2237, 2343, 2452, 2558, 2666, 2772, 2880, 2987, 3094, 3202, 3308, 3416, 3522, 3630, 3738, 3845, 3951, 4059, 4166, 4273, 4381, 4487, 4595, 4702, 4809, 4917, 5023, 5130, 5238, 5345, 5452, 5560, 5666, 5773, 5881, 5989, 6095, 6203, 6309, 6417, 6524, 6631, 6740, 6845, 6953, 7060, 7168, 7274, 7382]
    hit3 = 0
    data4 = [0, 1850, 2037, 2225, 2413, 2600, 2788, 2975, 3162, 3351, 3538, 3726, 3913, 4102, 4289, 4475, 4663, 4851, 5039, 5227, 5414, 5602, 5788, 5977, 6164, 6352, 6539, 6728, 6915, 7103, 7289, 7477, 7665, 7853, 8040, 8228, 8415, 8603, 8790, 8978, 9165, 9354, 9541, 9729, 9916, 10103, 10291, 10479, 10667, 10854, 11041, 11230, 11416, 11604, 11791, 11980, 12167, 12355, 12542, 12729, 12917]
    hit4 = 0
    data5 = [0, 7133, 7856, 8580, 9303, 10027, 10750, 11474, 12197, 12922, 13644, 14368, 15091, 15815, 16539, 17262, 17986, 18710, 19433, 20157, 20879, 21604, 22327, 23051, 23774, 24498, 25221, 25945, 26668, 27392, 28115, 28839, 29563, 30286, 31009, 31734, 32456, 33180, 33904, 34627, 35351, 36074, 36797, 37522, 38244, 38968, 39692, 40416, 41139, 41863, 42586, 43310, 44033, 44757, 45480, 46204, 46927, 47651, 48374, 49098, 49821]
    hit5 = 0
    TP成长 = 0.1
    TP上限 = 5

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.hit0 = 3
            self.hit1 = 3
            self.hit2 = 1
            self.hit3 = 0
            self.hit4 = 0
            self.hit5 = 0
        if 形态 == "常规":
            self.hit0 = 0
            self.hit1 = 0
            self.hit2 = 0
            self.hit3 = 3
            self.hit4 = 3
            self.hit5 = 1


class 技能11(主动技能):
    名称 = "黑暗权能"
    所在等级 = 45
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 40
    MP = [350, 2940]
    无色消耗 = 2
    data0 = [0, 3015, 3320, 3627, 3932, 4237, 4543, 4849, 5155, 5460, 5767, 6073, 6377, 6684, 6989, 7295, 7602, 7907, 8213, 8518, 8824, 9130, 9435, 9742, 10047, 10353, 10660, 10964, 11270, 11576, 11882, 12188, 12494, 12800, 13104, 13411, 13717, 14022, 14329, 14634, 14940, 15247, 15551, 15857, 16162, 16469, 16775, 17080, 17387, 17691, 17997, 18304, 18609, 18915, 19221, 19527, 19832, 20138, 20444, 20749, 21055, 21362, 21667, 21972, 22278, 22584, 22890, 23196, 23502, 23807, 24113]
    hit0 = 1
    data1 = [0, 13563, 14940, 16316, 17691, 19068, 20444, 21821, 23196, 24572, 25949, 27322, 28698, 30075, 31450, 32826, 34203, 35578, 36955, 38331, 39707, 41083, 42459, 43834, 45210, 46586, 47963, 49338, 50714, 52091, 53467, 54841, 56218, 57594, 58968, 60345, 61721, 63097, 64473, 65849, 67226, 68601, 69977, 71354, 72729, 74106, 75482, 76856, 78233, 79609, 80986, 82360, 83736, 85113, 86488, 87864, 89241, 90616, 91992, 93368, 94743, 96120, 97496, 98872, 100248, 101624, 103000, 104376, 105752, 107129, 108502]
    hit1 = 1
    data2 = [0, 13563, 14940, 16316, 17691, 19068, 20444, 21821, 23196, 24572, 25949, 27322, 28698, 30075, 31450, 32826, 34203, 35578, 36955, 38331, 39707, 41083, 42459, 43834, 45210, 46586, 47963, 49338, 50714, 52091, 53467, 54841, 56218, 57594, 58968, 60345, 61721, 63097, 64473, 65849, 67226, 68601, 69977, 71354, 72729, 74106, 75482, 76856, 78233, 79609, 80986, 82360, 83736, 85113, 86488, 87864, 89241, 90616, 91992, 93368, 94743, 96120, 97496, 98872, 100248, 101624, 103000, 104376, 105752, 107129, 108502]
    hit2 = 1
    data3 = [0, 2232, 2460, 2687, 2912, 3140, 3366, 3591, 3820, 4046, 4271, 4499, 4725, 4950, 5179, 5405, 5630, 5857, 6084, 6310, 6537, 6764, 6989, 7216, 7444, 7669, 7896, 8123, 8348, 8576, 8802, 9028, 9255, 9481, 9708, 9935, 10161, 10387, 10614, 10841, 11066, 11294, 11520, 11745, 11974, 12200, 12425, 12653, 12879, 13104, 13333, 13559, 13784, 14012, 14238, 14464, 14691, 14918, 15143, 15370, 15598, 15823, 16050, 16277, 16502, 16730, 16957, 17182, 17409, 17635, 17861]
    hit3 = 0
    data4 = [0, 10047, 11066, 12086, 13104, 14124, 15143, 16162, 17182, 18201, 19221, 20239, 21258, 22278, 23297, 24316, 25336, 26355, 27375, 28393, 29412, 30432, 31451, 32471, 33490, 34509, 35529, 36547, 37567, 38586, 39605, 40624, 41643, 42662, 43681, 44700, 45720, 46739, 47758, 48778, 49797, 50816, 51835, 52854, 53874, 54893, 55912, 56932, 57951, 58971, 59989, 61007, 62027, 63046, 64065, 65085, 66104, 67123, 68142, 69161, 70181, 71200, 72219, 73239, 74257, 75277, 76296, 77315, 78335, 79354, 80373]
    hit4 = 0
    data5 = [0, 10047, 11066, 12086, 13104, 14124, 15143, 16162, 17182, 18201, 19221, 20239, 21258, 22278, 23297, 24316, 25336, 26355, 27375, 28393, 29412, 30432, 31451, 32471, 33490, 34509, 35529, 36547, 37567, 38586, 39605, 40624, 41643, 42662, 43681, 44700, 45720, 46739, 47758, 48778, 49797, 50816, 51835, 52854, 53874, 54893, 55912, 56932, 57951, 58971, 59989, 61007, 62027, 63046, 64065, 65085, 66104, 67123, 68142, 69161, 70181, 71200, 72219, 73239, 74257, 75277, 76296, 77315, 78335, 79354, 80373]
    hit5 = 0
    TP成长 = 0.1
    TP上限 = 5

    power2 = 1.11
    power5 = 1.11
    是否有护石 = 1

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.hit0 = 1
            self.hit1 = 1
            self.hit2 = 1
            self.hit3 = 0
            self.hit4 = 0
            self.hit5 = 0
        if 形态 == "常规":
            self.hit0 = 0
            self.hit1 = 0
            self.hit2 = 0
            self.hit3 = 1
            self.hit4 = 1
            self.hit5 = 1

    def 装备护石(self, char):
        self.power2 *= 1.67
        self.power5 *= 1.67
        self.CDR *= 0.9


class 技能12(被动技能):
    名称 = '恶魔唤醒'
    所在等级 = 48
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40
    关联技能 = ['所有']
    非关联技能 = ['魔化：末日审判者','审判']
    关联技能2 = ['魔化：末日审判者']
    关联技能3 = ['审判']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.00 + 0.015 * self.等级, 5)

    def 加成倍率2(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.00 + 0.01 * self.等级, 5)

    def 加成倍率3(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.00 + 0.02 * self.等级, 5)


class 技能13(主动技能):
    名称 = "魔化：末日审判者"
    所在等级 = 50
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 200
    MP = [1500, 12600]
    无色消耗 = 5
    data0 = [0, 1175, 1349, 1520, 1691, 1863, 2036, 2210, 2379, 2554, 2723, 2899, 3070, 3241, 3413, 3586, 3755, 3928, 4101, 4271, 4442, 4615, 4788, 4958, 5130, 5300, 5474, 5646, 5817, 5989, 6160, 6333, 6504, 6676, 6847, 7021, 7194, 7362, 7536, 7708, 7875, 8051, 8223, 8395, 8567, 8738, 8911, 9082, 9254, 9426, 9597]
    hit0 = 0
    data1 = [0, 1406, 1636, 1868, 2099, 2330, 2562, 2792, 3022, 3258, 3488, 3718, 3951, 4180, 4413, 4642, 4873, 5104, 5337, 5567, 5797, 6027, 6260, 6491, 6721, 6950, 7183, 7413, 7646, 7875, 8105, 8339, 8568, 8798, 9031, 9259, 9492, 9724, 9955, 10186, 10416, 10648, 10879, 11110, 11341, 11572, 11802, 12034, 12265, 12497, 12726]
    hit1 = 0
    data2 = [0, 2148, 2572, 2996, 3418, 3841, 4266, 4688, 5111, 5537, 5962, 6384, 6808, 7231, 7654, 8078, 8500, 8922, 9348, 9771, 10194, 10617, 11041, 11463, 11885, 12310, 12733, 13157, 13580, 14003, 14424, 14852, 15270, 15694, 16119, 16540, 16962, 17387, 17811, 18236, 18655, 19082, 19504, 19928, 20351, 20774, 21197, 21622, 22044, 22467, 22891]
    hit2 = 0
    data3 = [0, 2290, 2752, 3213, 3674, 4131, 4594, 5053, 5514, 5976, 6438, 6895, 7358, 7819, 8280, 8738, 9199, 9658, 10119, 10579, 11040, 11498, 11961, 12421, 12880, 13340, 13801, 14259, 14722, 15180, 15640, 16102, 16559, 17021, 17484, 17940, 18401, 18862, 19320, 19782, 20242, 20704, 21164, 21625, 22085, 22545, 23006, 23466, 23925, 24386, 24846]
    hit3 = 0
    data4 = [0, 2259, 2733, 3219, 3694, 4171, 4653, 5129, 5606, 6088, 6565, 7044, 7522, 8000, 8480, 8956, 9433, 9912, 10388, 10870, 11345, 11826, 12301, 12781, 13260, 13736, 14215, 14693, 15174, 15652, 16128, 16608, 17083, 17560, 18041, 18518, 18995, 19474, 19951, 20431, 20909, 21388, 21866, 22344, 22822, 23300, 23779, 24257, 24736, 25213, 25691]
    hit4 = 0
    data5 = [0, 2759, 3364, 3980, 4584, 5194, 5802, 6411, 7014, 7627, 8233, 8844, 9451, 10059, 10668, 11275, 11881, 12491, 13098, 13704, 14314, 14922, 15529, 16139, 16745, 17352, 17961, 18569, 19178, 19786, 20393, 21003, 21609, 22218, 22826, 23432, 24039, 24651, 25257, 25864, 26472, 27081, 27689, 28297, 28905, 29513, 30120, 30729, 31337, 31945, 32553]
    hit5 = 0

    形态 = ["x", "z", "z蓄"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "x":
            self.hit0 = 2
            self.hit1 = 2
            self.hit2 = 2
            self.hit3 = 2
            self.hit4 = 0
            self.hit5 = 0
            # self.CD = 1 #有实际CD
        if 形态 == "z":
            self.hit0 = 0
            self.hit1 = 0
            self.hit2 = 0
            self.hit3 = 0
            self.hit4 = 1
            self.hit5 = 0
        if 形态 == "z蓄":
            self.hit0 = 0
            self.hit1 = 0
            self.hit2 = 0
            self.hit3 = 0
            self.hit4 = 0
            self.hit5 = 1
            # self.CD = 2 #有实际CD
        self.power4 = self.power5 = char.get_skill_by_name('原罪之力').加成倍率('')

    关联技能 = ['所有']

    def 魔法攻击力倍率进图(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return 1.15


class 技能14(主动技能):
    名称 = "审判"
    所在等级 = 50
    等级上限 = 1
    学习间隔 = 1
    等级精通 = 1
    CD = 145
    MP = [0, 0]
    无色消耗 = 0
    data0 = [0, 13122, 16165, 19210, 22252, 25295, 28338, 31382, 34425, 37469, 40512, 43555, 46596, 49639, 52681, 55724, 58768, 61811, 64854, 67899, 70938, 73984, 77027, 80070, 83113, 86156, 89199, 92242, 95284, 98326, 101372, 104414, 107457, 110500, 113543, 116586, 119628, 122671, 125715, 128758, 131801, 134844, 137887, 140930, 143973, 147015, 150058, 153101, 156144, 159187, 162230]
    hit0 = 1
    data1 = [0, 37350, 46011, 54673, 63333, 71994, 80655, 89315, 97976, 106639, 115299, 123959, 132622, 141280, 149941, 158601, 167264, 175925, 184584, 193247, 201908, 210566, 219228, 227889, 236550, 245211, 253872, 262533, 271196, 279853, 288515, 297178, 305836, 314498, 323161, 331821, 340481, 349140, 357803, 366462, 375123, 383786, 392446, 401107, 409767, 418429, 427089, 435750, 444412, 453072, 461734]
    hit1 = 1
    data2 = [0, 5903, 7232, 8593, 9955, 11317, 12676, 14038, 15400, 16760, 18122, 19484, 20843, 22331, 23566, 24928, 26289, 27650, 29012, 30373, 31734, 33095, 34457, 35817, 37179, 38542, 39901, 41263, 42624, 43985, 45346, 46709, 48069, 49430, 50792, 52152, 53514, 54874, 56237, 57598, 58958, 60320, 61681, 63043, 64404, 65764, 67126, 68487, 69849, 71210, 72572]
    hit2 = 0
    data3 = [0, 1167, 1439, 1709, 1981, 2251, 2523, 2793, 3065, 3333, 3606, 3875, 4147, 4417, 4688, 4959, 5230, 5501, 5772, 6041, 6312, 6582, 6855, 7125, 7397, 7667, 7938, 8209, 8479, 8748, 9021, 9291, 9562, 9832, 10104, 10373, 10646, 10915, 11189, 11457, 11727, 11999, 12269, 12540, 12810, 13083, 13353, 13624, 13894, 14165, 14436]
    hit3 = 0
    data4 = [0, 3633, 4476, 5318, 6161, 7003, 7846, 8688, 9530, 10372, 11213, 12056, 12900, 13742, 14584, 15426, 16269, 17112, 17954, 18795, 19639, 20482, 21323, 22166, 23008, 23849, 24694, 25535, 26375, 27222, 28063, 28904, 29748, 30589, 31432, 32274, 33115, 33960, 34800, 35644, 36487, 37328, 38171, 39013, 39856, 40698, 41541, 42382, 43226, 44068, 44910]
    hit4 = 0
    data5 = [0, 14077, 17341, 20607, 23870, 27135, 30399, 33662, 36928, 40191, 43456, 46720, 49984, 53249, 56512, 59777, 63041, 66306, 69569, 72835, 76096, 79363, 82627, 85891, 89156, 92418, 95684, 98946, 102211, 105475, 108741, 112005, 115270, 118533, 121797, 125061, 128325, 131590, 134856, 138119, 141385, 144647, 147911, 151175, 154440, 157704, 160968, 164233, 167496, 170762, 174025]
    hit5 = 0
    data6 = [0, 32094, 39547, 46983, 54434, 61875, 69326, 76759, 84216, 91651, 99102, 106540, 113993, 121428, 128881, 136319, 143770, 151205, 158658, 166095, 173546, 180984, 188436, 195870, 203327, 210764, 218215, 225652, 233103, 240539, 247993, 255429, 262881, 270320, 277771, 285205, 292660, 300095, 307547, 314988, 322439, 329878, 337323, 344767, 352212, 359656, 367100, 374545, 381989, 389434, 396879]
    hit6 = 0
    魔化倍率 = 1.1

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.hit0 = 1
            self.hit1 = 1
            self.魔化倍率 = 1.1
        if 形态 == "常规":
            self.hit0 = 1
            self.hit1 = 1
            self.魔化倍率 = 1.0


class 技能15(主动技能):
    名称 = "地狱之门"
    所在等级 = 60
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 30
    MP = [600, 1680]
    无色消耗 = 1
    data0 = [0, 2276, 2506, 2735, 2963, 3195, 3430, 3656, 3886, 4120, 4348, 4579, 4810, 5040, 5272, 5500, 5730, 5963, 6190, 6424, 6654, 6884, 7115, 7348, 7575, 7808, 8036, 8266, 8498, 8730, 8959, 9189, 9421, 9651, 9883, 10112, 10342, 10570, 10805, 11033, 11263, 11496, 11727, 11955, 12188, 12419, 12648, 12881, 13108, 13337, 13573]
    hit0 = 8
    TP成长 = 0.1
    TP上限 = 5

    魔化倍率 = 1.5
    是否有护石 = 1

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.魔化倍率 = 1.5
        if 形态 == "常规":
            self.魔化倍率 = 1.0

    def 装备护石(self, char):
        self.hit0 = 9
        self.倍率 *= 1.08
        self.CDR *= 0.88


class 技能16(主动技能):
    名称 = "末日浩劫"
    所在等级 = 70
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 50
    MP = [1200, 2520]
    无色消耗 = 2
    data0 = [0, 32992, 36341, 39689, 43033, 46381, 49729, 53073, 56421, 59770, 63117, 66462, 69810, 73158, 76503, 79850, 83198, 86543, 89892, 93240, 96586, 99933, 103281, 106628, 109973, 113321, 116670, 120014, 123362, 126710, 130055, 133402, 136750, 140097, 143442, 146791, 150140, 153485, 156831, 160180, 163525, 166873, 170220, 173567, 176915, 180262, 183609, 186955, 190302, 193650, 196995]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 5

    魔化倍率 = 1.35
    是否有护石 = 1

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.魔化倍率 = 1.35
        if 形态 == "常规":
            self.魔化倍率 = 1.0

    def 装备护石(self, char):
        self.倍率 *= 1.24
        self.CDR *= 0.9


class 技能17(主动技能):
    名称 = "不朽战吼"
    所在等级 = 75
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 40
    MP = [580, 4500]
    无色消耗 = 3
    data0 = [0, 17862, 19674, 21488, 23299, 25111, 26920, 28734, 30547, 32359, 34172, 35984, 37793, 39607, 41418, 43230, 45045, 46856, 48666, 50480, 52290, 54103, 55916, 57726, 59538, 61352, 63163, 64976, 66789, 68599, 70411, 72224, 74036, 75848, 77662, 79471, 81282, 83096, 84908, 86720, 88533, 90342, 92154, 93969, 95780, 97592, 99406, 101217, 103027, 104839, 106654]
    hit0 = 0
    data1 = [0, 12506, 13775, 15044, 16312, 17581, 18853, 20120, 21389, 22657, 23928, 25198, 26463, 27733, 29002, 30273, 31540, 32807, 34077, 35343, 36613, 37884, 39151, 40420, 41688, 42957, 44228, 45495, 46764, 48032, 49303, 50571, 51837, 53107, 54376, 55643, 56912, 58183, 59453, 60719, 61989, 63258, 64526, 65794, 67064, 68333, 69602, 70871, 72137, 73407, 74676]
    hit1 = 5
    data2 = [0, 4470, 4927, 5380, 5829, 6283, 6737, 7188, 7645, 8098, 8554, 9008, 9460, 9912, 10363, 10820, 11273, 11726, 12184, 12631, 13086, 13541, 13993, 14446, 14903, 15353, 15805, 16259, 16713, 17169, 17621, 18076, 18530, 18981, 19435, 19886, 20339, 20796, 21248, 21698, 22153, 22608, 23062, 23516, 23971, 24423, 24874, 25331, 25783, 26236, 26690]
    hit2 = 2

    是否有护石 = 1

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.hit0 = 0
            self.hit1 = 5
            self.hit2 = 2
        if 形态 == "常规":
            self.hit0 = 5
            self.hit1 = 0
            self.hit2 = 2

    def 装备护石(self, char):
        self.倍率 *= 1.29
        self.CDR *= 0.86


class 技能18(被动技能):
    名称 = '原罪之力'
    所在等级 = 75
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40
    # 这里有个问题，关联技能1中实际应该还有魔化：末日审判者中的恶魔之爪部分，但恶魔之爪没单独拆出来
    关联技能 = ['所有']
    非关联技能 = ['恶魔之力']
    关联技能2 = ['恶魔之力']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.17 + 0.02 * self.等级, 5)

    def 加成倍率2(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.09 + 0.015 * self.等级, 5)


class 技能19(主动技能):
    名称 = "毁灭强击"
    所在等级 = 80
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 45
    MP = [800, 6000]
    无色消耗 = 5
    data0 = [0, 8335, 9178, 10025, 10872, 11717, 12560, 13406, 14253, 15100, 15943, 16788, 17635, 18482, 19328, 20170, 21016, 21864, 22708, 23552, 24397, 25242, 26090, 26936, 27780, 28624, 29472, 30318, 31164, 32006, 32853, 33700, 34546, 35388, 36233, 37080, 37927, 38772, 39616, 40462, 41309, 42154, 42998, 43845, 44690, 45536, 46382, 47225, 48070, 48916, 49763]
    hit0 = 1
    data1 = [0, 38892, 42837, 46782, 50729, 54671, 58619, 62565, 66511, 70456, 74401, 78347, 82292, 86239, 90184, 94129, 98075, 102021, 105964, 109908, 113857, 117802, 121744, 125694, 129639, 133585, 137530, 141474, 145421, 149367, 153309, 157256, 161204, 165147, 169096, 173040, 176983, 180932, 184877, 188819, 192769, 196714, 200655, 204605, 208548, 212494, 216442, 220384, 224330, 228279, 232219]
    hit1 = 1
    data2 = [0, 1665, 1837, 2006, 2175, 2344, 2511, 2680, 2853, 3021, 3189, 3359, 3526, 3695, 3867, 4034, 4205, 4372, 4540, 4712, 4880, 5049, 5219, 5387, 5558, 5726, 5893, 6065, 6234, 6400, 6572, 6740, 6907, 7078, 7247, 7417, 7587, 7754, 7923, 8093, 8263, 8432, 8601, 8768, 8939, 9106, 9277, 9447, 9615, 9782, 9953]
    hit2 = 10

    魔化倍率 = 1.35
    是否有护石 = 1

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.魔化倍率 = 1.35
        if 形态 == "常规":
            self.魔化倍率 = 1.00

    def 装备护石(self, char):
        self.倍率 *= 1.35


class 技能20(主动技能):
    名称 = '永堕：混沌弑神'
    备注 = '追加操作'
    所在等级 = 85
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 180
    MP = [2500, 5000]
    无色消耗 = 10
    data0 = [0, 5734, 7064, 8394, 9722, 11053, 12383, 13711, 15042, 16371, 17699, 19031, 20359, 21688, 23017, 24348, 25678, 27005, 28336, 29665, 30994, 32325, 33654, 34983, 36312, 37643, 38972, 40301, 41632, 42961, 44290, 45621, 46950, 48279, 49608, 50939, 52268, 53597, 54928, 56258, 57586, 58917, 60246, 61575, 62904, 64235, 65564, 66892, 68223, 69550, 70881]
    hit0 = 1
    data1 = [0, 4111, 5062, 6015, 6967, 7920, 8873, 9826, 10779, 11731, 12684, 13637, 14590, 15544, 16496, 17449, 18402, 19355, 20308, 21260, 22213, 23166, 24119, 25072, 26024, 26977, 27930, 28883, 29836, 30788, 31741, 32694, 33647, 34601, 35553, 36506, 37459, 38412, 39364, 40317, 41270, 42223, 43176, 44128, 45081, 46034, 46987, 47940, 48892, 49845, 50798]
    hit1 = 12
    data2 = [0, 10321, 12713, 15108, 17501, 19894, 22286, 24680, 27073, 29467, 31859, 34253, 36646, 39040, 41431, 43825, 46219, 48612, 51004, 53398, 55792, 58184, 60576, 62972, 65365, 67757, 70149, 72544, 74937, 77329, 79721, 82117, 84509, 86902, 89296, 91689, 94081, 96474, 98869, 101262, 103654, 106048, 108441, 110834, 113227, 115621, 118014, 120406, 122800, 125193, 127586]
    hit2 = 1
    data3 = [0, 24654, 30372, 36089, 41805, 47522, 53240, 58957, 64674, 70391, 76108, 81824, 87543, 93260, 98976, 104693, 110410, 116128, 121844, 127562, 133278, 138995, 144714, 150430, 156147, 161863, 167581, 173298, 179015, 184732, 190449, 196165, 201884, 207601, 213317, 219034, 224751, 230468, 236185, 241903, 247620, 253336, 259054, 264771, 270488, 276203, 281921, 287637, 293355, 299073, 304788]
    hit3 = 2

    power3 = 1.35  # 追加操作
    魔化倍率 = 1.35

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.魔化倍率 = 1.35
        if 形态 == "常规":
            self.魔化倍率 = 1.00


class 技能21(主动技能):
    名称 = "极恶洪流"
    所在等级 = 95
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 60
    MP = [800, 6000]
    无色消耗 = 7
    data0 = [0, 13247, 14590, 15935, 17278, 18621, 19965, 21308, 22653, 23997, 25338, 26684, 28028, 29371, 30716, 32060, 33402, 34746, 36091, 37433, 38777, 40122, 41465, 42808, 44152, 45497, 46840, 48185, 49528, 50870, 52214, 53560, 54903, 56246, 57589, 58934, 60278, 61621, 62965, 64310, 65654, 66996, 68339, 69684, 71027, 72372, 73717, 75058, 76403, 77747, 79088]
    hit0 = 3
    data1 = [0, 59605, 65654, 71699, 77747, 83793, 89842, 95886, 101934, 107981, 114028, 120076, 126120, 132168, 138216, 144262, 150310, 156357, 162403, 168450, 174496, 180544, 186591, 192636, 198683, 204731, 210778, 216825, 222873, 228921, 234965, 241012, 247059, 253108, 259151, 265199, 271248, 277293, 283341, 289387, 295436, 301480, 307527, 313575, 319623, 325668, 331714, 337763, 343810, 349856, 355903]
    hit1 = 1

    power0 = 1.2  # 追加操作
    power1 = 1.2  # 追加操作
    魔化倍率 = 1.3

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.魔化倍率 = 1.30
        if 形态 == "常规":
            self.魔化倍率 = 1.00


class 技能22(被动技能):
    名称 = '光之影'
    所在等级 = 95
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能23(主动技能):
    名称 = "末日福音：毁灭之翼"
    所在等级 = 100
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 290
    MP = [4028, 8056]
    无色消耗 = 15
    data0 = [0, 78177, 96305, 114435, 132562, 150690, 168818, 186947, 205076, 223202, 241330, 259460, 277588, 295715, 313843, 331972, 350100, 368229, 386355, 404484, 422613, 440741, 458868, 476997, 495126, 513253, 531381, 549511, 567637, 585766, 603892, 622022, 640150, 658278, 676406, 694535, 712664, 730790, 748919, 767049, 785175, 803303, 821431, 839560, 857688, 875815, 893944, 912073, 930200, 948329, 966457]
    hit0 = 1
    data1 = [0, 39089, 48153, 57218, 66281, 75345, 84408, 93473, 102538, 111601, 120666, 129731, 138792, 147857, 156921, 165985, 175051, 184114, 193178, 202243, 211306, 220371, 229434, 238498, 247564, 256626, 265691, 274756, 283819, 292884, 301945, 311010, 320075, 329138, 338204, 347268, 356330, 365396, 374459, 383525, 392588, 401651, 410716, 419780, 428844, 437909, 446973, 456037, 465100, 474163, 483228]
    hit1 = 1
    data2 = [0, 97721, 120382, 143042, 165702, 188363, 211023, 233683, 256342, 279003, 301664, 324324, 346984, 369644, 392304, 414964, 437625, 460285, 482945, 505606, 528266, 550925, 573586, 596245, 618907, 641567, 664227, 686887, 709547, 732208, 754867, 777528, 800189, 822849, 845509, 868167, 890829, 913487, 936149, 958809, 981469, 1004130, 1026789, 1049450, 1072109, 1094770, 1117429, 1140091, 1162751, 1185410, 1208071]
    hit2 = 1
    data3 = [0, 175900, 216690, 257476, 298265, 339052, 379842, 420630, 461418, 502205, 542995, 583783, 624572, 665359, 706147, 746936, 787725, 828512, 869302, 910089, 950878, 991665, 1032454, 1073244, 1114031, 1154819, 1195607, 1236397, 1277185, 1317973, 1358760, 1399549, 1440338, 1481126, 1521914, 1562702, 1603491, 1644279, 1685067, 1725856, 1766646, 1807432, 1848221, 1889009, 1929799, 1970586, 2011374, 2052162, 2092950, 2133739, 2174528]
    hit3 = 1

    魔化倍率 = 1.4
    CD = 290.0

    形态 = ["魔化", "常规"]

    def 形态变更(self, 形态, char: Character):
        if (形态 == '' or 形态 not in self.形态) and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "魔化":
            self.魔化倍率 = 1.4
        if 形态 == "常规":
            self.魔化倍率 = 1.0


class classChange(Character):
    def __init__(self, equVersion=""):
        self.实际名称 = 'avenger'
        self.名称 = '神启·复仇者'
        self.角色 = '圣职者(男)'
        self.角色类型 = '输出'
        self.职业 = '复仇者'
        # 用来筛CP武器的
        self.转职 = '复仇者'
        self.武器选项 = ['镰刀']
        self.输出类型选项 = ['魔法百分比']
        self.防具精通属性 = ['智力']
        self.类型 = '魔法百分比'
        self.武器类型 = '镰刀'
        self.防具类型 = '重甲'
        技能列表 = []
        技能序号 = {}
        i = 0
        while i >= 0:
            try:
                tem = eval('技能'+str(i)+'()')
                tem.基础等级计算()
                技能序号[tem.名称] = i
                技能列表.append(tem)
                i += 1
            except:
                i = -1
        self.技能栏 = 技能列表
        self.技能序号 = 技能序号
        self.buff = 1.90

        super().__init__(equVersion)

    def 职业特殊计算(self):
        # 审判等级绑定
        审判 = self.get_skill_by_name('审判')
        审判.等级上限 = 50
        审判.等级 = self.get_skill_by_name('魔化：末日审判者').等级

    def 伤害计算(self):

        data = super().伤害计算()
        skill_dict = data['skills']

        恶魔之力 = self.get_skill_by_name("恶魔之力")
        if '恶魔之力' in skill_dict and 恶魔之力.等级 > 0 and 恶魔之力.CP倍率 > 0:
            info = data['skills']['恶魔之力']
            avg = info['damage'] / info['count']
            count = 0
            for skill in skill_dict:
                if skill in ['黑暗权能', '不朽战吼', '毁灭强击', '极恶洪流']:
                    count += data['skills'][skill]['count']
                if skill in ['厄运之轮', '恶魔之拳', '地狱之门'] and skill in self.护石栏:
                    count += data['skills'][skill]['count']
            data['skills']['恶魔之力']['count'] += count
            data['skills']['恶魔之力']['damage'] += avg * 恶魔之力.CP倍率 * count
            data['total_data'] += avg * 恶魔之力.CP倍率 * count
        dps = 0
        for temp in data['skills']:
            skill = data['skills'][temp]
            try:
                dps += (skill['damage']/skill['count'])/skill['cd']
            except:
                pass
        data['dps'] = dps
        return data

    # 抗性有成长的较为特殊 需要按照以下进行添加
    def 职业特殊设置(self):
        镰刀精通 = self.get_skill_by_name("镰刀精通")
        self.暗属性抗性加成(6*镰刀精通.等级)
        self.光属性抗性加成(-3*镰刀精通.等级)
